$OpenBSD: patch-plugins_ao_Makefile_am,v 1.3 2016/09/13 08:48:12 dcoppa Exp $
--- plugins/ao/Makefile.am.orig	Sun Sep  4 09:02:09 2016
+++ plugins/ao/Makefile.am	Sun Sep  4 09:03:10 2016
@@ -18,7 +18,7 @@ eng_psf/cpuintrf.h eng_psf/mamemem.h eng_psf/psx.h\
 eng_psf/peops/adsr.h eng_psf/peops/dma.h eng_psf/peops/externals.h eng_psf/peops/gauss_i.h eng_psf/peops/registers.h eng_psf/peops/regs.h eng_psf/peops/spu.h eng_psf/peops/stdafx.h\
 eng_psf/peops2/adsr.h eng_psf/peops2/dma.h eng_psf/peops2/externals.h eng_psf/peops2/gauss_i.h eng_psf/peops2/psemuxa.h eng_psf/peops2/registers.h eng_psf/peops2/regs.h eng_psf/peops2/reverb.h eng_psf/peops2/spu.h eng_psf/peops2/stdafx.h 
 
-ddb_ao_la_LDFLAGS = -module -avoid-version $(ZLIB_LIBS)
+ddb_ao_la_LDFLAGS = -module -avoid-version $(ZLIB_LIBS) -lm
 
 ddb_ao_la_LIBADD = $(LDADD)
 AM_CFLAGS = $(CFLAGS) $(ZLIB_CFLAGS) -Wall -DPATH_MAX=1024 -DHAS_PSXCPU=1 -I.. -Ieng_ssf -Ieng_qsf -Ieng_dsf -lm -fPIC 
